<template>
  <div id="app">
    <!-- <HelloWorld/> -->
		<hr />
		<h2>父组件传子组件</h2>
		<MyComponent></MyComponent>
		<br/>
		<hr />
		<h2>子组件传父组件</h2>
		<Parent></Parent>
		<br/>
		<hr />
		<h2>插槽</h2>
		<Parents></Parents>
		<br/>
		<hr />
		<h2>组件切换</h2>
		<Big></Big>
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld'
import MyComponent from './components/stepson/myComponent.vue'
import Parent from './components/sonparent/parent'
import Parents from './components/slots/parent'
import Big from './components/comkeep/big'
export default {
  name: 'App',
  components: {
    HelloWorld,MyComponent,Parent,Parents,Big
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
